package com.localjoycommunity.cpdj.project.system.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.localjoycommunity.cpdj.framework.aspectj.lang.annotation.Excel;
import com.localjoycommunity.cpdj.framework.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.ArrayList;
import java.util.List;

/**
 * 两新组织对象 two_new_organization
 *
 * @author leepandar
 * @date 2020-11-04
 */
public class TwoNewOrganization extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * $column.columnComment
     */
    private Long id;

    /**
     * 两新名称
     */
    @Excel(name = "两新名称")
    private String name;

    /**
     * 业务
     */
    @Excel(name = "业务")
    private String business;

    /**
     * 浏览量
     */
    @Excel(name = "浏览量")
    private Long browseNum;

    /**
     * 收藏量
     */
    @Excel(name = "收藏量")
    private Long collectNum;

    /**
     * 党员数量
     */
    @Excel(name = "党员数量")
    private Long partyMemberNum;

    /**
     * 党支部名称
     */
    @Excel(name = "党支部名称")
    private String partyBranchName;

    /**
     * 所属联合党委
     */
    @Excel(name = "所属联合党委")
    private String partyCommittee;

    /**
     * 地址
     */
    @Excel(name = "地址")
    private String address;

    /**
     * 电话
     */
    @Excel(name = "电话")
    private String phone;

    /**
     * 删除标志（0代表存在 2代表删除）
     */
    private String delFlag;

    /**
     * 简介
     */
    @Excel(name = "简介")
    private String intro;

    @TableField(exist = false)
    private int isDig;

    private String cover;

    /**
     * 楼宇id
     */
    private Integer buildingId;

    /**
     * 楼宇名称
     */
    private String buildingName;

    /**
     * 楼层
     */
    private Integer floor;

    /**
     * 展示图片
     */
    private String imgs;

    /**
     * logo
     */
    private String logo;

    private List<String> images = new ArrayList<>();

    public int getIsDig() {
        return isDig;
    }

    public void setIsDig(int isDig) {
        this.isDig = isDig;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getBusiness() {
        return business;
    }

    public void setBusiness(String business) {
        this.business = business;
    }

    public Long getBrowseNum() {
        return browseNum;
    }

    public void setBrowseNum(Long browseNum) {
        this.browseNum = browseNum;
    }

    public Long getCollectNum() {
        return collectNum;
    }

    public void setCollectNum(Long collectNum) {
        this.collectNum = collectNum;
    }

    public Long getPartyMemberNum() {
        return partyMemberNum;
    }

    public void setPartyMemberNum(Long partyMemberNum) {
        this.partyMemberNum = partyMemberNum;
    }

    public String getPartyBranchName() {
        return partyBranchName;
    }

    public void setPartyBranchName(String partyBranchName) {
        this.partyBranchName = partyBranchName;
    }

    public String getPartyCommittee() {
        return partyCommittee;
    }

    public void setPartyCommittee(String partyCommittee) {
        this.partyCommittee = partyCommittee;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    public String getIntro() {
        return intro;
    }

    public void setIntro(String intro) {
        this.intro = intro;
    }

    public String getCover() {
        return cover;
    }

    public void setCover(String cover) {
        this.cover = cover;
    }

    public Integer getBuildingId() {
        return buildingId;
    }

    public void setBuildingId(Integer buildingId) {
        this.buildingId = buildingId;
    }

    public String getBuildingName() {
        return buildingName;
    }

    public void setBuildingName(String buildingName) {
        this.buildingName = buildingName;
    }

    public Integer getFloor() {
        return floor;
    }

    public void setFloor(Integer floor) {
        this.floor = floor;
    }

    public String getImgs() {
        return imgs;
    }

    public void setImgs(String imgs) {
        this.imgs = imgs;
    }

    public List<String> getImages() {
        return images;
    }

    public void setImages(List<String> images) {
        this.images = images;
    }

    public String getLogo() {
        return logo;
    }

    public void setLogo(String logo) {
        this.logo = logo;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("name", getName())
                .append("business", getBusiness())
                .append("browseNum", getBrowseNum())
                .append("collectNum", getCollectNum())
                .append("partyMemberNum", getPartyMemberNum())
                .append("partyBranchName", getPartyBranchName())
                .append("partyCommittee", getPartyCommittee())
                .append("address", getAddress())
                .append("phone", getPhone())
                .append("createTime", getCreateTime())
                .append("delFlag", getDelFlag())
                .append("intro", getIntro())
                .toString();
    }
}
